<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<section id="boxCanYouLike" class="boxSubject corner3 rightShadow">
	<div class="boxTitle topCorner3">
		<h2>
			Những truyện ma có thể bạn chưa đọc
			<a href="<spring:url value="/truyen-ma/danh-sach-truyen-theo-van-a-z-trang-1.htm" />" title="Tất cả truyện ma">[Xem thêm]</a>
		</h2>
	</div>
	<div class="listCanYouLikeKiemHiep">
		<c:choose>
			<c:when test="${lstTruyenRandom.size() > 0}">
				<c:forEach begin="0" end="${lstTruyenRandom.size() -1}" step="1" var="i">
					<div>
						<a href='<spring:url value="/truyen-ma/T${lstTruyenRandom[i].id}/${fn:replace(lstTruyenRandom[i].alias,' ','-')}.htm" />' title="<h2>Tóm tắt truyện : ${lstTruyenRandom[i].name}</h2>${lstTruyenRandom[i].info}" class='textOverflow tooltip'>
							<img class='corner' src='${lstTruyenRandom[i].linkImage}/s152/${lstTruyenRandom[i].nameImage}' alt='${lstTruyenRandom[i].name}' />
							<strong>${lstTruyenRandom[i].name}</strong><br />
							<b>Số chương: </b><span><fmt:formatNumber type="number" maxIntegerDigits="4" value="${lstTruyenRandom[i].totalChapter}" /></span>
						</a>
					</div>
				</c:forEach>
			</c:when>
			<c:otherwise>Đang cập nhật...</c:otherwise>
		</c:choose>
	</div>
</section>